#!/bin/sh

# gsacp, the script for using git to print status, add *, commit and push

echo "something"
git status
echo "commit using 'git add *'?"
read ANSWER
if echo $ANSWER | grep -iq "^y" ;then
    git add *
    git commit
    git push
else
    echo "aborting script"
fi
